/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.agent.entity;

import com.jeeplus.modules.member.entity.Member;
import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 中介Entity
 * @author zhych
 * @version 2021-12-08
 */
@Data
public class Agent extends DataEntity<Agent> {
	
	private static final long serialVersionUID = 1L;
    @NotNull(message="用户不能为空")
	@ExcelField(title="用户", fieldType=Member.class, value="u.nickname", align=2, sort=1)
	private Member u;		// 用户
	@ExcelField(title="公司名称", align=2, sort=2)
	private String companyName;		// 公司名称
	@ExcelField(title="营业执照", align=2, sort=3)
	private String charter;		// 营业执照
	@ExcelField(title="门头照片", align=2, sort=4)
	private String doorImg;		// 门头照片
	@ExcelField(title="办公室照片", align=2, sort=5)
	private String officeImg;		// 办公室照片
	@ExcelField(title="手机号", align=2, sort=6)
	private String mobile;		// 手机号
	@ExcelField(title="微信号", align=2, sort=7)
	private String wechat;		// 微信号
	@ExcelField(title="省份证正反面", align=2, sort=8)
	private String idImg;		// 省份证正反面
	@ExcelField(title="审核状态", dictType="audit_state", align=2, sort=9)
	private String auditState;		// 审核状态

	private String address;
	
	public Agent() {
		super();
	}
	
	public Agent(String id){
		super(id);
	}
}